// 招生管理
export default [
  {
    path: "/topic",
    redirect: "/topic/Topic",
    alwaysShow: false, // will always show the root menu
    name: "topic",
    meta: {
      title: "在线课题管理",
      icon: "icon-kaowuguanli1",
      roles: ["admin"], // you can set roles in root nav
    },
    children: [
      {
        path: "/topic/Foundation",
        component: () =>
          import("@/views/topic/Foundation.vue"),
        name: "/topic/Foundation",
        meta: {
          title: "在线课题",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },

      {
        path: "TopicEdit",
        component: () => import("@/views/topic/TopicEdit.vue"),
        name: "topicEdit",
        meta: {
          title: "在线课堂管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
    ],
  },
];
